package com.example.demo.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 点位表(TbNode)实体类
 *
 * @author makejava
 * @since 2022-11-29 14:08:39
 */
public class TbNode implements Serializable {
    private static final long serialVersionUID = -98371905915468235L;

    private Long id;
    /**
     * 点位名称
     */
    private String name;
    /**
     * 点位详细地址
     */
    private String addr;
    /**
     * 所在区域Id
     */
    private String areaCode;
    /**
     * 创建人id
     */
    private Integer createUserId;
    /**
     * 区域id
     */
    private Long regionId;
    /**
     * 商圈id
     */
    private Integer businessId;
    /**
     * 点位主Id
     */
    private Integer ownerId;
    /**
     * 点位主名称
     */
    private String ownerName;
    /**
     * 更改时间
     */
    private Date updateTime;
    /**
     * 创建时间
     */
    private Date createTime;

    private TbRegion region;

    public TbRegion getRegion() {
        return region;
    }

    public void setRegion(TbRegion region) {
        this.region = region;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public Long getRegionId() {
        return regionId;
    }

    public void setRegionId(Long regionId) {
        this.regionId = regionId;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    public Integer getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Integer ownerId) {
        this.ownerId = ownerId;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
